package com.vint.mi;


import java.util.regex.Pattern;

/**
 * 1. done,medium
 * 2. String
 * 求有几个岛
 */
public class Mi57 {

    public static String solution(String line){
        String[] src =line.split(" ");

        String regex1 = src[0];
        boolean isMatch = Pattern.matches(regex1, src[1]);
        if(isMatch){
            return "1";
        }else{
            return "0";
        }

    }

    public static void main(String[] args) {
        //System.out.println(solution(s2));
    }
}
